package com.hhit.zhgd.domain.excelimport

import cn.afterturn.easypoi.excel.annotation.Excel
import cn.afterturn.easypoi.handler.inter.IExcelDataModel
import cn.afterturn.easypoi.handler.inter.IExcelModel

data class HighlightGreenConstructionImportParam(
    var rowNum: Int,
    @Excel(name = "专业", fixedIndex = 1)
    var major: String? = null,
    @Excel(name = "亮点名称", fixedIndex = 2)
    var name: String? = null,
    @Excel(name = "亮点描述", fixedIndex = 3)
    var description: String? = null,
    @Excel(name = "计划完成时间", fixedIndex = 4)
    var planCompleteTime: String? = null,
    @Excel(name = "完成时间", fixedIndex = 5)
    var completeTime: String? = null,
    @Excel(name = "策划照片", type = 2, fixedIndex = 6, savePath = "/home/images")
    var planningPhoto: String? = null,
    @Excel(name = "实际完成照片", type = 2, fixedIndex = 7, savePath = "/home/images")
    var actualFinishedPhoto: String? = null
):IExcelDataModel,IExcelModel{
    override fun setRowNum(rowNum: Int?) {
        this.rowNum = rowNum!!
    }

    override fun getRowNum(): Int {
        return rowNum!!
    }

    override fun getErrorMsg(): String {
        return errorMsg!!
    }

    override fun setErrorMsg(errorMsg: String) {
        this.errorMsg = errorMsg!!
    }
}
